package com.cloud.base.designmode.decorate;

import org.apache.commons.lang3.StringUtils;

public class Cache2 extends Cache1 implements CacheInterface {
    @Override
    public String getCache() {
        String cache = super.getCache();
        if (StringUtils.isBlank(cache)) {
            System.out.println("Cache2");
            return null;
        }
        return cache;
    }
}
